package cn.bdqn.hospital.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 处方实体类
 */
public class Cf implements Serializable {
    // 处方号
    private Integer cfId;
    // 药品号
    private Integer ypId;
    // 挂号
    private Integer orderId;
    // 处方内容
    private String cfMessage;
    // 缴费号
    private Integer ddId;
    // 开方时间
    private LocalDateTime cfTime;

    public Integer getCfId() {
        return cfId;
    }

    public void setCfId(Integer cfId) {
        this.cfId = cfId;
    }

    public Integer getYpId() {
        return ypId;
    }

    public void setYpId(Integer ypId) {
        this.ypId = ypId;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getCfMessage() {
        return cfMessage;
    }

    public void setCfMessage(String cfMessage) {
        this.cfMessage = cfMessage;
    }

    public Integer getDdId() {
        return ddId;
    }

    public void setDdId(Integer ddId) {
        this.ddId = ddId;
    }

    public LocalDateTime getCfTime() {
        return cfTime;
    }

    public void setCfTime(LocalDateTime cfTime) {
        this.cfTime = cfTime;
    }

    public Cf() {
    }

    public Cf(Integer cfId, Integer ypId, Integer orderId, String cfMessage, Integer ddId, LocalDateTime cfTime) {
        this.cfId = cfId;
        this.ypId = ypId;
        this.orderId = orderId;
        this.cfMessage = cfMessage;
        this.ddId = ddId;
        this.cfTime = cfTime;
    }

    @Override
    public String toString() {
        return "cf{" +
                "cfId=" + cfId +
                ", ypId=" + ypId +
                ", orderId=" + orderId +
                ", cfMessage='" + cfMessage + '\'' +
                ", ddId=" + ddId +
                ", cfTime=" + cfTime +
                '}';
    }
}
